package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Alias("platform")
public class Platform extends PO implements Serializable {
	
	/**
	 * 平台表
	 */
	private static final long serialVersionUID = -6105906399411482614L;
	/**
	 * 平台资源类型 ：ADN
	 */
	public static final String RESOURCETYPE_ADN = "ADN";
	/**
	 * 平台资源类型 ：ADX
	 */
	public static final String RESOURCETYPE_ADX = "ADX";
	
	/**
	 * 所属接入渠道，对应channel.id,  当为0时描述为系统平台本身。
	 */
	private int channel; 
	
	/**
	 * 平台名称
	 */
	private String name;
	/**
	 * 平台Url
	 */
	private String url;
	/**
	 * 平台描述
	 */
	private String description;
	
	/**
	 * 状态   -1.删除 0.初始化 1.有效， 默认值 0
	 */
	private Integer status;
	/**
	 *平台资源类型 1 为公有资源 2 为私有资源
	 */
	private String type;
	/**
	 *平台资源类型 1 ADN 2 ADX
	 */
	private String resType;

	public int getChannel() {
		return channel;
	}

	public void setChannel(int channel) {
		this.channel = channel;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getResType() {
		return resType;
	}

	public void setResType(String resType) {
		this.resType = resType;
	}

}
